/**
 需要处理 js使用 Buffer.from(str);  与使用 window.atob(str);  结果不一样
 */


var window = global;
var laohe;



//Base64 编码和解码的使用方法；下载库： npm install --save js-base64
var base64 = require('js-base64').Base64;

// webpack 加载器
var main_library = function (n) {
    var i = {};

    function r(e) {
        if (i[e])
            return i[e].exports;
        var t = i[e] = {
            i: e,
            l: !1,
            exports: {}
        };
        // 打印模块
        // console.log("加载模块：" + e);
        return n[e].call(t.exports, t, t.exports, r),
            t.l = !0,
            t.exports
    }

    return r.m = n,
        r.c = i,
        r.d = function (e, t, n) {
            r.o(e, t) || Object.defineProperty(e, t, {
                configurable: !1,
                enumerable: !0,
                get: n
            })
        }
        ,
        r.n = function (e) {
            var t = e && e.__esModule ? function () {
                        return e.default
                    }
                    : function () {
                        return e
                    }
            ;
            return r.d(t, "a", t),
                t
        }
        ,
        r.o = function (e, t) {
            return Object.prototype.hasOwnProperty.call(e, t)
        }
        ,
        r.p = "",
        // r(r.s = 0) // 出现 0 这里需要注释掉！
        laohe = r; //webpack的模块需要在外部调用；
}
({
    //模块
    wxAWXU: function (e, t, n) {
        "use strict";
        t.__esModule = !0;
        var i, r = n("C4MVk4"), o = (i = r) && i.__esModule ? i : {
            default: i
        };
        t.default = function () {
            function i(e, t) {
                for (var n = 0; n < t.length; n++) {
                    var i = t[n];
                    i.enumerable = i.enumerable || !1,
                        i.configurable = !0,
                    "value" in i && (i.writable = !0),
                        (0,
                            o.default)(e, i.key, i)
                }
            }

            return function (e, t, n) {
                return t && i(e.prototype, t),
                n && i(e, n),
                    e
            }
        }()
    },
    C4MVk4: function (e, t, n) {
        e.exports = {
            default: n("9bBUAi"),
            __esModule: !0
        }
    },
    "9bBUAi": function (e, t, n) {
        n("mClu7w");
        var i = n("FeBl//").Object;
        e.exports = function (e, t, n) {
            return i.defineProperty(e, t, n)
        }
    },
    mClu7w: function (e, t, n) {
        var i = n("kM2EPs");
        i(i.S + i.F * !n("+E39Oi"), "Object", {
            defineProperty: n("evD51I").f
        })
    },
    kM2EPs: function (e, t, n) {
        var h = n("7KvDTS")
            , T = n("FeBl//")
            , A = n("+ZMJW/")
            , m = n("hJx8uG")
            , b = n("D2L2Fc")
            , v = "prototype"
            , O = function (e, t, n) {
            var i, r, o, a = e & O.F, c = e & O.G, s = e & O.S, l = e & O.P, d = e & O.B, g = e & O.W,
                p = c ? T : T[t] || (T[t] = {}), u = p[v], f = c ? h : s ? h[t] : (h[t] || {})[v];
            for (i in c && (n = t),
                n)
                (r = !a && f && void 0 !== f[i]) && b(p, i) || (o = r ? f[i] : n[i],
                    p[i] = c && "function" != typeof f[i] ? n[i] : d && r ? A(o, h) : g && f[i] == o ? function (i) {
                        var e = function (e, t, n) {
                            if (this instanceof i) {
                                switch (arguments.length) {
                                    case 0:
                                        return new i;
                                    case 1:
                                        return new i(e);
                                    case 2:
                                        return new i(e, t)
                                }
                                return new i(e, t, n)
                            }
                            return i.apply(this, arguments)
                        };
                        return e[v] = i[v],
                            e
                    }(o) : l && "function" == typeof o ? A(Function.call, o) : o,
                l && ((p.virtual || (p.virtual = {}))[i] = o,
                e & O.R && u && !u[i] && m(u, i, o)))
        };
        O.F = 1,
            O.G = 2,
            O.S = 4,
            O.P = 8,
            O.B = 16,
            O.W = 32,
            O.U = 64,
            O.R = 128,
            e.exports = O
    },
    "7KvDTS": function (e, t) {
        var n = e.exports = "undefined" != typeof window && window.Math == Math ? window : "undefined" != typeof self && self.Math == Math ? self : Function("return this")();
        "number" == typeof __g && (__g = n)
    },
    "FeBl//": function (e, t) {
        var n = e.exports = {
            version: "2.5.7"
        };
        "number" == typeof __e && (__e = n)
    },
    "+ZMJW/": function (e, t, n) {
        var o = n("lOnJoo");
        e.exports = function (i, r, e) {
            if (o(i),
            void 0 === r)
                return i;
            switch (e) {
                case 1:
                    return function (e) {
                        return i.call(r, e)
                    }
                        ;
                case 2:
                    return function (e, t) {
                        return i.call(r, e, t)
                    }
                        ;
                case 3:
                    return function (e, t, n) {
                        return i.call(r, e, t, n)
                    }
            }
            return function () {
                return i.apply(r, arguments)
            }
        }
    },
    lOnJoo: function (e, t) {
        e.exports = function (e) {
            if ("function" != typeof e)
                throw TypeError(e + " is not a function!");
            return e
        }
    },
    hJx8uG: function (e, t, n) {
        var i = n("evD51I")
            , r = n("X8DOh6");
        e.exports = n("+E39Oi") ? function (e, t, n) {
                return i.f(e, t, r(1, n))
            }
            : function (e, t, n) {
                return e[t] = n,
                    e
            }
    },
    evD51I: function (e, t, n) {
        var i = n("77PlCI")
            , r = n("SfB7fh")
            , o = n("MmMw8n")
            , a = Object.defineProperty;
        t.f = n("+E39Oi") ? Object.defineProperty : function (e, t, n) {
            if (i(e),
                t = o(t, !0),
                i(n),
                r)
                try {
                    return a(e, t, n)
                } catch (e) {
                }
            if ("get" in n || "set" in n)
                throw TypeError("Accessors not supported!");
            return "value" in n && (e[t] = n.value),
                e
        }
    },
    "77PlCI": function (e, t, n) {
        var i = n("EqjIsF");
        e.exports = function (e) {
            if (!i(e))
                throw TypeError(e + " is not an object!");
            return e
        }
    },
    EqjIsF: function (e, t) {
        e.exports = function (e) {
            return "object" == typeof e ? null !== e : "function" == typeof e
        }
    },
    SfB7fh: function (e, t, n) {
        e.exports = !n("+E39Oi") && !n("S82lPa")(function () {
            return 7 != Object.defineProperty(n("ON07tO")("div"), "a", {
                get: function () {
                    return 7
                }
            }).a
        })
    },
    "+E39Oi": function (e, t, n) {
        e.exports = !n("S82lPa")(function () {
            return 7 != Object.defineProperty({}, "a", {
                get: function () {
                    return 7
                }
            }).a
        })
    },
    S82lPa: function (e, t) {
        e.exports = function (e) {
            try {
                return !!e()
            } catch (e) {
                return !0
            }
        }
    },
    MmMw8n: function (e, t, n) {
        var r = n("EqjIsF");
        e.exports = function (e, t) {
            if (!r(e))
                return e;
            var n, i;
            if (t && "function" == typeof (n = e.toString) && !r(i = n.call(e)))
                return i;
            if ("function" == typeof (n = e.valueOf) && !r(i = n.call(e)))
                return i;
            if (!t && "function" == typeof (n = e.toString) && !r(i = n.call(e)))
                return i;
            throw TypeError("Can't convert object to primitive value")
        }
    },
    X8DOh6: function (e, t) {
        e.exports = function (e, t) {
            return {
                enumerable: !(1 & e),
                configurable: !(2 & e),
                writable: !(4 & e),
                value: t
            }
        }
    },
    D2L2Fc: function (e, t) {
        var n = {}.hasOwnProperty;
        e.exports = function (e, t) {
            return n.call(e, t)
        }
    },
    Zrlrdy: function (e, t, n) {
        "use strict";
        t.__esModule = !0,
            t.default = function (e, t) {
                if (!(e instanceof t))
                    throw new TypeError("Cannot call a class as a function")
            }
    },
    EKtaEr: function (e, t, n) {
        "use strict";
        t.byteLength = function (e) {
            var t = u(e)
                , n = t[0]
                , i = t[1];
            return 3 * (n + i) / 4 - i
        }
            ,
            t.toByteArray = function (e) {
                for (var t, n = u(e), i = n[0], r = n[1], o = new p((l = i,
                    d = r,
                3 * (l + d) / 4 - d)), a = 0, c = 0 < r ? i - 4 : i, s = 0; s < c; s += 4)
                    t = g[e.charCodeAt(s)] << 18 | g[e.charCodeAt(s + 1)] << 12 | g[e.charCodeAt(s + 2)] << 6 | g[e.charCodeAt(s + 3)],
                        o[a++] = t >> 16 & 255,
                        o[a++] = t >> 8 & 255,
                        o[a++] = 255 & t;
                var l, d;
                2 === r && (t = g[e.charCodeAt(s)] << 2 | g[e.charCodeAt(s + 1)] >> 4,
                    o[a++] = 255 & t);
                1 === r && (t = g[e.charCodeAt(s)] << 10 | g[e.charCodeAt(s + 1)] << 4 | g[e.charCodeAt(s + 2)] >> 2,
                    o[a++] = t >> 8 & 255,
                    o[a++] = 255 & t);
                return o
            }
            ,
            t.fromByteArray = function (e) {
                for (var t, n = e.length, i = n % 3, r = [], o = 0, a = n - i; o < a; o += 16383)
                    r.push(s(e, o, a < o + 16383 ? a : o + 16383));
                1 === i ? (t = e[n - 1],
                    r.push(c[t >> 2] + c[t << 4 & 63] + "==")) : 2 === i && (t = (e[n - 2] << 8) + e[n - 1],
                    r.push(c[t >> 10] + c[t >> 4 & 63] + c[t << 2 & 63] + "="));
                return r.join("")
            }
        ;
        for (var c = [], g = [], p = "undefined" != typeof Uint8Array ? Uint8Array : Array, i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", r = 0, o = i.length; r < o; ++r)
            c[r] = i[r],
                g[i.charCodeAt(r)] = r;

        function u(e) {
            var t = e.length;
            if (0 < t % 4)
                throw new Error("Invalid string. Length must be a multiple of 4");
            var n = e.indexOf("=");
            return -1 === n && (n = t),
                [n, n === t ? 0 : 4 - n % 4]
        }

        function s(e, t, n) {
            for (var i, r, o = [], a = t; a < n; a += 3)
                i = (e[a] << 16 & 16711680) + (e[a + 1] << 8 & 65280) + (255 & e[a + 2]),
                    o.push(c[(r = i) >> 18 & 63] + c[r >> 12 & 63] + c[r >> 6 & 63] + c[63 & r]);
            return o.join("")
        }

        g["-".charCodeAt(0)] = 62,
            g["_".charCodeAt(0)] = 63
    },
})


G = Uint8Array.from([214, 144, 233, 254, 204, 225, 61, 183, 22, 182, 20, 194, 40, 251, 44, 5, 43, 103, 154, 118, 42, 190, 4, 195, 170, 68, 19, 38, 73, 134, 6, 153, 156, 66, 80, 244, 145, 239, 152, 122, 51, 84, 11, 67, 237, 207, 172, 98, 228, 179, 28, 169, 201, 8, 232, 149, 128, 223, 148, 250, 117, 143, 63, 166, 71, 7, 167, 252, 243, 115, 23, 186, 131, 89, 60, 25, 230, 133, 79, 168, 104, 107, 129, 178, 113, 100, 218, 139, 248, 235, 15, 75, 112, 86, 157, 53, 30, 36, 14, 94, 99, 88, 209, 162, 37, 34, 124, 59, 1, 33, 120, 135, 212, 0, 70, 87, 159, 211, 39, 82, 76, 54, 2, 231, 160, 196, 200, 158, 234, 191, 138, 210, 64, 199, 56, 181, 163, 247, 242, 206, 249, 97, 21, 161, 224, 174, 93, 164, 155, 52, 26, 85, 173, 147, 50, 48, 245, 140, 177, 227, 29, 246, 226, 46, 130, 102, 202, 96, 192, 41, 35, 171, 13, 83, 78, 111, 213, 219, 55, 69, 222, 253, 142, 47, 3, 255, 106, 114, 109, 108, 91, 81, 141, 27, 175, 146, 187, 221, 188, 127, 17, 217, 92, 65, 31, 16, 90, 216, 10, 193, 49, 136, 165, 205, 123, 189, 45, 116, 208, 18, 184, 229, 180, 176, 137, 105, 151, 74, 12, 150, 119, 126, 101, 185, 241, 9, 197, 110, 198, 132, 24, 240, 125, 236, 58, 220, 77, 32, 121, 238, 95, 62, 215, 203, 57, 72])
R = Uint32Array.from([462357, 472066609, 943670861, 1415275113, 1886879365, 2358483617, 2830087869, 3301692121, 3773296373, 4228057617, 404694573, 876298825, 1347903077, 1819507329, 2291111581, 2762715833, 3234320085, 3705924337, 4177462797, 337322537, 808926789, 1280531041, 1752135293, 2223739545, 2695343797, 3166948049, 3638552301, 4110090761, 269950501, 741554753, 1213159005, 1684763257])
Y = Uint32Array.from([2746333894, 1453994832, 1736282519, 2993693404])


_x = laohe("Zrlrdy")
F = laohe.n(_x)

E = laohe("wxAWXU")
I = laohe.n(E)
H = laohe("EKtaEr")

N = function () {
    function e() {
        F()(this, e)
    }

    return I()(e, null, [{
        key: "stringToArrayBufferInUtf8",
        value: function (e) {
            // return (new ("undefined" == typeof window ? r("OMJio/").TextEncoder : window.TextEncoder)).encode(e)
            // return (new window.TextEncoder).encode(e)  这里用到了js将字符串转换成UTF-8编码的主要方法是通过TextEncoder
            const encoder = new TextEncoder();
            const bytes = encoder.encode(e);
            // console.log(bytes);
            return bytes
        }
    }, {
        key: "utf8ArrayBufferToString",
        value: function (e) {
            // return new ("undefined" == typeof window ? r("OMJio/").TextDecoder : window.TextDecoder)("utf-8").decode(e)
            // return new  window.TextDecoder)("utf-8").decode(e)
            //在JavaScript中，将UTF-8编码换成字符串转的主要方法是通过TextEncoder
            // console.log(new TextDecoder("utf-8").decode(e));
            return new TextDecoder("utf-8").decode(e)
        }
    }, {
        key: "arrayBufferToBase64",
        value: function (e) {
            return H.fromByteArray(e)
        }
    }, {
        key: "base64ToArrayBuffer",
        value: function (e) {
            return H.toByteArray(e)
        }
    }]),
        e
}()

J = {
    key: "qhR0fCU".split("").reverse().join("") + "ND1xgqFV7".split("").reverse().join(""),
    mode: "ecb",
    outType: "array"
};

X = function () {
    function i(e) {
        F()(this, i);
        var t = N.stringToArrayBufferInUtf8(e.key);
        if (16 !== t.length)
            throw new Error("key should be a 16 bytes string");
        this.key = t;
        var n = new Uint8Array(0);
        if (void 0 !== e.iv && null !== e.iv && 16 !== (n = N.stringToArrayBufferInUtf8(e.iv)).length)
            throw new Error("iv should be a 16 bytes string");
        this.iv = n,
        0 <= [this.mode = "cbc", "ecb"].indexOf(e.mode) && (this.mode = e.mode),
        0 <= [this.cipherType = "base64", "text", "array"].indexOf(e.outType) && (this.cipherType = e.outType),
            this.encryptRoundKeys = new Uint32Array(32),
            this.spawnEncryptRoundKeys(),
            this.decryptRoundKeys = Uint32Array.from(this.encryptRoundKeys),
            this.decryptRoundKeys.reverse()
    }

    return I()(i, [{
        key: "doBlockCrypt",
        value: function (e, t) {
            var n = new Uint32Array(36);
            n.set(e, 0);
            for (var i = 0; i < 32; i++)
                n[i + 4] = n[i] ^ this.tTransform1(n[i + 1] ^ n[i + 2] ^ n[i + 3] ^ t[i]);
            var r = new Uint32Array(4);
            return r[0] = n[35],
                r[1] = n[34],
                r[2] = n[33],
                r[3] = n[32],
                r
        }
    }, {
        key: "spawnEncryptRoundKeys",
        value: function () {
            var e = new Uint32Array(4);
            e[0] = this.key[0] << 24 | this.key[1] << 16 | this.key[2] << 8 | this.key[3],
                e[1] = this.key[4] << 24 | this.key[5] << 16 | this.key[6] << 8 | this.key[7],
                e[2] = this.key[8] << 24 | this.key[9] << 16 | this.key[10] << 8 | this.key[11],
                e[3] = this.key[12] << 24 | this.key[13] << 16 | this.key[14] << 8 | this.key[15];
            var t = new Uint32Array(36);
            t[0] = e[0] ^ Y[0],
                t[1] = e[1] ^ Y[1],
                t[2] = e[2] ^ Y[2],
                t[3] = e[3] ^ Y[3];
            for (var n = 0; n < 32; n++)
                t[n + 4] = t[n] ^ this.tTransform2(t[n + 1] ^ t[n + 2] ^ t[n + 3] ^ R[n]),
                    this.encryptRoundKeys[n] = t[n + 4]
        }
    }, {
        key: "rotateLeft",
        value: function (e, t) {
            return e << t | e >>> 32 - t
        }
    }, {
        key: "linearTransform1",
        value: function (e) {
            return e ^ this.rotateLeft(e, 2) ^ this.rotateLeft(e, 10) ^ this.rotateLeft(e, 18) ^ this.rotateLeft(e, 24)
        }
    }, {
        key: "linearTransform2",
        value: function (e) {
            return e ^ this.rotateLeft(e, 13) ^ this.rotateLeft(e, 23)
        }
    }, {
        key: "tauTransform",
        value: function (e) {
            return G[e >>> 24 & 255] << 24 | G[e >>> 16 & 255] << 16 | G[e >>> 8 & 255] << 8 | G[255 & e]
        }
    }, {
        key: "tTransform1",
        value: function (e) {
            var t = this.tauTransform(e);
            return this.linearTransform1(t)
        }
    }, {
        key: "tTransform2",
        value: function (e) {
            var t = this.tauTransform(e);
            return this.linearTransform2(t)
        }
    }, {
        key: "padding",
        value: function (e) {
            if (null === e)
                return null;
            var t = 16 - e.length % 16
                , n = new Uint8Array(e.length + t);
            return n.set(e, 0),
                n.fill(t, e.length),
                n
        }
    }, {
        key: "dePadding",
        value: function (e) {
            if (null === e)
                return null;
            var t = e[e.length - 1];
            return e.slice(0, e.length - t)
        }
    }, {
        key: "uint8ToUint32Block",
        value: function (e) {
            var t = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : 0
                , n = new Uint32Array(4);
            return n[0] = e[t] << 24 | e[t + 1] << 16 | e[t + 2] << 8 | e[t + 3],
                n[1] = e[t + 4] << 24 | e[t + 5] << 16 | e[t + 6] << 8 | e[t + 7],
                n[2] = e[t + 8] << 24 | e[t + 9] << 16 | e[t + 10] << 8 | e[t + 11],
                n[3] = e[t + 12] << 24 | e[t + 13] << 16 | e[t + 14] << 8 | e[t + 15],
                n
        }
    }, {
        key: "encrypt",
        value: function (e) {
            var t = N.stringToArrayBufferInUtf8(e)
                , n = this.padding(t)
                , i = n.length / 16
                , r = new Uint8Array(n.length);
            if ("cbc" === this.mode) {
                if (null === this.iv || 16 !== this.iv.length)
                    throw new Error("iv error");
                for (var o = this.uint8ToUint32Block(this.iv), a = 0; a < i; a++) {
                    var c = 16 * a
                        , s = this.uint8ToUint32Block(n, c);
                    o[0] = o[0] ^ s[0],
                        o[1] = o[1] ^ s[1],
                        o[2] = o[2] ^ s[2],
                        o[3] = o[3] ^ s[3];
                    var l = this.doBlockCrypt(o, this.encryptRoundKeys);
                    o = l;
                    for (var d = 0; d < 16; d++)
                        r[c + d] = l[parseInt(d / 4)] >> (3 - d) % 4 * 8 & 255
                }
            } else
                for (var g = 0; g < i; g++)
                    for (var p = 16 * g, u = this.uint8ToUint32Block(n, p), f = this.doBlockCrypt(u, this.encryptRoundKeys), h = 0; h < 16; h++)
                        r[p + h] = f[parseInt(h / 4)] >> (3 - h) % 4 * 8 & 255;
            return "base64" === this.cipherType ? N.arrayBufferToBase64(r) : "array" === this.cipherType ? this.base64ToArrayBuffer(N.arrayBufferToBase64(r)) : N.utf8ArrayBufferToString(r)
        }
    }, {
        key: "base64to2",
        value: function (e) {
            for (var t = .75 * (e = e.replace(/=*$/, "")).length, n = new Int8Array(t), i = void 0, r = void 0, o = void 0, a = void 0, c = 0, s = 0; s < e.length; s += 4)
                i = z[e[s]],
                    r = z[e[s + 1]],
                    o = z[e[s + 2]],
                    a = z[e[s + 3]],
                    n[c++] = i << 2 | r >> 4,
                    n[c++] = r << 4 | o >> 2,
                    n[c++] = o << 6 | a;
            return n
        }
    }, {
        key: "decrypt",
        value: function (e) {
            e = this.arrayBufferToBase64(e);
            var t = new Uint8Array
                ,
                n = (t = "base64" === this.cipherType || "array" === this.cipherType ? N.base64ToArrayBuffer(e) : N.stringToArrayBufferInUtf8(e)).length / 16
                , i = new Uint8Array(t.length);
            if ("cbc" === this.mode) {
                if (null === this.iv || 16 !== this.iv.length)
                    throw new Error("iv error");
                for (var r = this.uint8ToUint32Block(this.iv), o = 0; o < n; o++) {
                    var a = 16 * o
                        , c = this.uint8ToUint32Block(t, a)
                        , s = this.doBlockCrypt(c, this.decryptRoundKeys)
                        , l = new Uint32Array(4);
                    l[0] = r[0] ^ s[0],
                        l[1] = r[1] ^ s[1],
                        l[2] = r[2] ^ s[2],
                        l[3] = r[3] ^ s[3],
                        r = c;
                    for (var d = 0; d < 16; d++)
                        i[a + d] = l[parseInt(d / 4)] >> (3 - d) % 4 * 8 & 255
                }
            } else
                for (var g = 0; g < n; g++)
                    for (var p = 16 * g, u = this.uint8ToUint32Block(t, p), f = this.doBlockCrypt(u, this.decryptRoundKeys), h = 0; h < 16; h++)
                        i[p + h] = f[parseInt(h / 4)] >> (3 - h) % 4 * 8 & 255;
            var T = this.dePadding(i);
            return N.utf8ArrayBufferToString(T)
        }
    }, {
        key: "arrayBufferToBase64",
        value: function (e) {
            for (var t = "", n = new Uint8Array(e), i = n.byteLength, r = 0; r < i; r++)
                t += String.fromCharCode(n[r]);
            return window.btoa(t)
        }
    }, {
        key: "base64ToArrayBuffer",
        value: function (e) {
            // 使用 Buffer 解码 base-64 编码的字符串
            // const buffer = Buffer.from(b64string, 'base64');
            // const decodedString = buffer.toString('utf8');
            for (var t = (e + "=".repeat((4 - e.length % 4) % 4))
                    .replace(/\-/g, "+")
                    .replace(/_/g, "/"),
                     // n = window.atob(t), //window对象atob() 方法用于解码使用 base-64 编码的字符串。
                     // n = base64.decode(t), //base64解码
                     n = Buffer.from(t, 'base64').toString('utf8'), //base64解码
                     i = new Uint8Array(n.length),
                     r = 0; r < n.length; ++r)
                i[r] = n.charCodeAt(r);
            return i
        }
    }]),
        i
}()

//测试与页面的加密算法是否一致
// var x = new X(J);
// console.log(x)


function W(e) {
    return new X(J).encrypt(e)
}

function Q(e) {
    return new X(J).decrypt(e)
}


// e = '{' +
//     '  "tranCode": "MBS32004",' +
//     '  "prdCode": "23012008B",' +
//     '  "taCode": "Y4",' +
//     '  "queryFlag": "0",' +
//     '  "queryFlagRate": "6",' +
//     '  "turnPageBeginPos": 0,' +
//     '  "turnPageShowNum": "10",' +
//     '  "prdTypeAdd": "",' +
//     '  "consumerId": "MB",' +
//     '  "TMF_CHANNEL_FLAG": "1"' +
//     '}';
//加密
// e = '{"tranCode":"MBS32003","prdCode":"23012008B","status":"0","consumerId":"MB","TMF_CHANNEL_FLAG":"1"}';
e = '{"tranCode":"MBS32123","prdCode":"23012008B","prdType":"1","consumerId":"MB","TMF_CHANNEL_FLAG":"1"}';
var o = W(e);
console.log(o);
// nt = 'ms46pd/IFZ6X0v34Fzw8QaV6va++ilVybnwjDYfFgsHtF9O4CnQSjUwnptV1O8TU9nfUAx0FtUfvVT87TAwvUdcIiilp6jfLQvEREEbsRDXHXaQRDwUuBFfzTZ1ltyNZXUa8msdyXcshGTgQ96UnYg==';
// console.log(base64.decode(nt))



//解密
// var tt = Q(e.data)
// nn = JSON.parse(tt);
// console.log(nn);




